home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
ASTRONOM
/
H139.ZIP
/
RO101.ZIP
/
RO.QRF
< prev
next >
Wrap
Text File
|
1991-11-04
|
7KB
|
198 lines
Quick Reference Guide to "ro"
-----------------------------
Command Break? Default stacked Function
------- ------ ------- ------- ---------
A. nroff-compatible commands (* denotes compatibility limitation)
--------------------------------------------------------------
.. string no string is "mere" comment
(or end of macro definition)
.ad no initially on turn right justification
on (use .na to turn off);
only applicable if
"filling" is also on.
.bp n yes n = +1 begin page numbered n
.br yes cause a break (this
line is not justified)
.ce n yes n = 1 center next n lines
.di name (*) no junk.$$$ diversion file
(see "PREPROCESSOR")
.de name no define (multiline)
macro ("PREPROCESSOR")
.ds name string no null string define string replace-
ment ("PREPROCESSOR")
.em end macro
(see "PREPROCESSOR")
.ex no immediate abort back to
system
.fi yes start filling lines
.ig string no "ignore" string (see ..)
.in n no n = 10 Yes set indent value to n
.ll n no n = 65 Yes set line length (right
margin)
.ls n no n = 1 Yes set line spacing to n
.na no initially on turn right justification
off (use .ad to turn on)
.ne n no/yes n = 2 "need" n lines; if have
them no action; else
begins new page
.nf yes stop filling lines
.nr name n no n=0 No create or modify
register variable
(see "PREPROCESSOR")
.pl n no n = 66 Yes sets page length to n
.pm print macros defined
(for debugging)
.po no 0 No sets page offset (spaces
at left margin of every
line.
.so filename no ignored Yes reads named file into
input stream; cannot be
invoked from keyboard
input.
.sp n yes n = 1 space down n lines
.ta n no n = 8 Yes sets value of tab space
.tc c no ~ Yes set translation flag
character, see .tr
.ti n yes n = 0 set temp. indent of n
.tm string send message to terminal
(console); like a comment
but displayed to
operator during run.
B. non-nroff-compatible commands (must be upper-case)
--------------------------------------------------
.BJ yes break with right
justification (current
line only)
.DB n no n = 0(NO) set debug flag 1 for
diagnostics
.EF /../../../ no blanks even footer titling
.EH /../../../ no blanks even header titling
.FF n no n = 1(yes) initially, formfeeds
are "off". Can turn
them on. Each page
then terminated with
one formfeed.
.FO /../../../ no empty sets both even and odd
page footers
.HE /../../../ no empty sets both even and odd
page headers
.M1 no n = 2 Yes set topmost margin to n
.M2 no n = 2 Yes set 2nd top margin to n
lines
.M3 no n = 2 Yes 1st bottom margin to n
lines
.M4 no n = 2 Yes bottom-most margin to n
lines
.OF /../../../ no empty odd page footer title
.OH /../../../ no empty odd page header title
.SC c no blank Yes space character; the
visible character
that will be trans-
literated to unexpanded
blank.
.SR show registers defined
.SS show strings defined
.ST n no n = 1 (yes) stop (pause) at each page
start; initially off;
may also be enabled by
the -s option.
C. Pre-Defined Registers
---------------------
dy current day of the month \n(dy
mo current month as integer (1-12) \n(mo
yr current year -1900 \n(yr
D. Printer Control
---------------
\fR Switch to Roman Font
\fI Switch to Italic Font
\fB Switch to Bold Font
\u Up one-half line
\d Down one-half line
E. tmac.m Macros, Strings, and Registers
-------------------------------------
\\*(DT Current date (yyyy/mm/dd)
Ps paragraph spacing (nr)
Pi paragraph indent (nr)
.P begin paragraph
\\*F prints current note number, superscript
.FS starts text of note
.FE ends text of note
.PN prints out all notes collected
.R switch to Roman (regular) font
.I switch to Italic font
.B switch to Bold font
.PH page header
.PF page footer
.TA begin double-spaced text segment
.TZ end double-spaced text segment
.BA begin single-spaced indented block
.BZ end single-spaced indented block